home *** CD-ROM | disk | FTP | other *** search
- PROCEDURE hp_dev
-
- *** Here is where we develop our help screens
-
- IF .not. found() && no help in file
- m_choice = yesno('No help is currently available '+;
- 'for the current program situation. '+;
- 'Do you want to create a new help '+;
- 'screen?')
-
- IF m_choice && we want to create help
-
- *** if there is an active menu or popup and there is no
- *** READ going on, find out if we are going to have help
- *** on individual menu item.
-
- IF .not. m_ch .and. isblank(v_name) .and. ;
- (.not. isblank(m_name) .or. .not. isblank(po_name))
- m_ch = yesno('You are creating the first help '+;
- 'screen for a menu or a popup. '+;
- 'You can have either a single help '+;
- 'screen for the entire menu or '+;
- 'separate help screens for each '+;
- 'menu option. Do you want help '+;
- 'on each menu choice?')
- ENDIF
-
- *** now load the results into the new help record.
-
- APPEND BLANK && add a new help record
-
- REPLACE proc_name WITH pr_name, ;
- vari_name WITH v_name, ;
- menu_name WITH m_name, ;
- popup_name WITH po_name, ;
- menu_value WITH menu_val, ;
- menu_ch WITH m_ch, ;
- ul_row WITH 0, ;
- ul_col WITH 0, ;
- lr_row WITH 24, ;
- lr_col WITH 79
-
- DO hp_dev1 && go to help editing
- ENDIF
-
- ELSE && the help record is there
- DO hp_dev1
- ENDIF
-
- RETURN
-
- ******** eop HP_DEV
-
-
-